<div id="listUser-messages">
    <ul>
        <?php foreach ($data as $item) : ?>
            <li><?php echo $item['displayName']; ?></li>
        <?php endforeach; ?>
    </ul>
</div>
